#pragma once

#include<iostream>
#include<functional>

using task_t = std::function<void()>;//等价于 typedef std::function<void()> task_t;

void Download()
{
    std::cout << "我是一个下载的任务" << std::endl;
}